package com.ch999.detect.View;

import com.ch999.baseres.BaseView;
import com.ch999.detect.mode.bean.DialogCustomMode;
import com.ch999.detect.mode.bean.GoodsBjgz;

/**
 * Created by ch999android on 2017/12/27.
 */

public interface NewDetectView extends BaseView {
    /**
     * 检测成功回调
     *
     * @param position 检测结果下标
     */
    void detectSuccess(int position);

    /**
     * 弹出自定义对话框
     *
     * @param customMode dialog参数封装
     */
    void showDialog(DialogCustomMode customMode, boolean needCountDown);

    /**
     * 关闭自定义对话框
     *
     * @param isEndDetect true-结束检测项，进行下一项，false-至关闭当前对话框
     */
    void closeDialog(boolean isEndDetect);

    void showAnyDialog(GoodsBjgz.AttrBean attrBean);

    /**
     * 弹出等待去选择的对话框
     * 触摸功能
     * 拨打电话功能
     */
    void showNobottomDialog(DialogCustomMode customMode);


    void openLinght();

    void showToast(String text);



}

